// my variable declarations go here
var nAustria = 0;		// number of times Austria has been clicked
var nBangladesh = 0;	// number of times Bangladesh has been clicked
var nColombia = 0;		// number of times Colombia has been clicked
var nIreland = 0;		// number of times Ireland has been clicked



function visitAustria()
{
	nAustria = nAustria + 1;
}

function visitBangladesh()
{
	nBangladesh = nBangladesh + 1;
}

function visitColombia()
{
	nColombia = nColombia + 1;
}

function visitIreland()
{
	nIreland = nIreland + 1;
}

function isComplete()
{
	// comparing two values == equals, >= greater than or equal, <= less than or equal to
	// > greater than, < less than, != not equals
	if( nAustria >= 1 && nBangladesh >= 1 && nColombia >= 1 && nIreland >= 1 )
	{
		alert( "You have completed the course!" );
	}
	else
	{
		alert( "You did NOT complete the course!" );
	}
}
